Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 6 - Transform Objects / Transform Objects Reference
Functions


Transforming Shapes by Modifying Shape Geometries

The functions described in this section perform the calculations necessary to achieve common matrix transformations of shapes. They are equivalent to the functions that modify transform mappings as described in the previous section, "Transforming Shapes by Modifying Transform Mappings" beginning on page 6-58; however, the functions in this section can perform their transformations by directly modifying a shape's geometry rather than altering its transform's mapping:

(Note also that the function GXSetShapeBounds works in the same manner as the other functions listed here; it modifies a shape's geometry to effect a scaling operation. However, GXSetShapeBounds is described in the geometric operations chapter of Inside Macintosh: QuickDraw GX Graphics.)

When applied to a shape object, each of these functions performs its transformation in one of two ways:


Subtopics
GXMoveShape
GXMoveShapeTo
GXScaleShape
GXRotateShape
GXSkewShape
GXMapShape

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996